package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.LiveDieState;
import com.study.manage.domain.enumm.QianDaoType;

@Entity
@Table(name = "sa_qiandao")
public class Qiandao extends AbstractEntity {

    private static final long serialVersionUID = 3563292411872765209L;

    public Long userId;
    public String platform;
    public String version;
    public Integer continued;
    @Column(name = "typee")
    public QianDaoType type = QianDaoType.Nomal;
    public LiveDieState state = LiveDieState.LIVE;

    public Qiandao() {

    }

    public Qiandao(Long id) {
        this.id = id;
    }
}
